package com.cmc.cloud.cmclink.doc.vo.vgm;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.util.*;
import javax.validation.constraints.*;

import org.hibernate.validator.constraints.Length;

/**
 * VMG信息更新 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - VMG信息更新 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class VgmUpdateReqVO extends VgmBaseVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "7782")
    @NotNull(message = "{vgm.id.notnull}")
    private Long id;

    @Schema(description = "港口")
    @NotBlank(message = "{vgmUpdateReqVO.currentPort.notBlank}")
    private String currentPort;

    @Schema(description = "船名")
    @NotBlank(message = "{vgmUpdateReqVO.vesselCode.notBlank}")
    private String vesselCode;

    @Schema(description = "航次")
    @NotBlank(message = "{vgmUpdateReqVO.voyage.notBlank}")
    private String voyage;

    private String creator;

    private String updater;

    private String operationSource;
}
